package org.open.erp.services.personal.teste;

import org.open.erp.services.buget.BugetareSrv;
import org.open.erp.services.buget.impl.BugetareDummyImpl;
import org.open.erp.services.nomgen.NomenclatoareSrv;
import org.open.erp.services.nomgen.impl.NomenclatoareDummyImpl;
import org.open.erp.services.personal.PersonalSrv;
import org.open.erp.services.personal.impl.PersonalImpl;

/*
 * 
 * @Factory(PersonalSrv, BugetareSrv, NomGenSrv) 
 *  
 *  Furnizeaza depedente Dummy pentru serviciul local si cele dependente
 * 
 */

public class ProjectManagementDummyFactory {
	public static PersonalSrv getProjectManagementSrv(){
		PersonalImpl projectSrv = new PersonalImpl();
		projectSrv.setBugetareSrv(getBugetareSrv());
		return projectSrv;
	}
	
	public static BugetareSrv getBugetareSrv(){
		return new BugetareDummyImpl();
	}
	
	public static NomenclatoareSrv getNomenclatoareSrv(){
		return new NomenclatoareDummyImpl();
	}
}
